<script>
export default {
  onLaunch: function() {
    this.$store.dispatch('getUserInfo')
  },
  onShow: function() {
    console.log('App Show')
  },
  onHide: function() {
    console.log('App Hide')
  }
}
</script>

<style lang="scss">
.house-item {
  width: 100%;
}
* {
  box-sizing: border-box;
}
page {
  height: 100%;
}

.page {
  height: 100%;
  background: #F5F5F5;
  padding-bottom: calc(100rpx + env(safe-area-inset-bottom));
  overflow-y: auto;
  position: relative;
}
.page {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 140rpx;
  .content {
    flex-grow: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
}
$u-primary: #0962c4;
/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
@import "uview-ui/index.scss";
* {
  box-sizing: border-box;
}
.map .u-dropdown__content__mask {
  display: none !important;
}
page {
  height: 100%;
  overflow: hidden;
  background-color: #ffffff;
}
.page {
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .content {
    flex-grow: 1;
    overflow: hidden;
  }
}
.primary-button {
  display: inline-block;
  padding: 12rpx 32rpx;
  background: #0962c4;
  border-radius: 10rpx;
  font-family: PingFang SC;
  font-weight: 500;
  font-size: 26rpx;
  color: #FFFFFF;
  text-align: center;
}

.primary-button.large {
  font-size: 32rpx;
  padding: 24rpx 32rpx;
}

.button-group {
  padding: 32rpx 24rpx;
  width: 100%;
  .primary-button {
    width: 100%;
  }
}
.flex {
  display: flex;
}
.flex-direction-column {
  flex-direction: column;
}
.flex-direction-row {
  flex-direction: row;
}
.flex-direction-row-reverse {
  flex-direction: row-reverse;
}
.justify-content-space-between {
  justify-content: space-between;
}
.justify-content-start {
  justify-content: start;
}
.justify-content-center {
  justify-content: center;
}
.align-items-start {
  align-items: start;
}
.align-items-end {
  align-items: end;
}
.align-items-center {
  align-items: center;
}
.align-items-baseline {
  align-items: baseline;
}
.font-weight-bold {
  font-weight: bold;
}
.background-color-white {
  background-color: #fff;
}
.overflow-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.overflow-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.p-r {
  position: relative;
}
</style>
